package com.stone.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author stone
 * @date 2022/4/27 15:03
 */
@Data
public class RoleMenuAddDTO {

    @NotNull(message = "角色id不能为空")
    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @NotNull(message = "选中的菜单不能为空")
    @ApiModelProperty(value = "选中的菜单")
    private List<Long> menuList;
}
